package com.qiku.course.service;

import com.qiku.course.entity.Course;
import com.qiku.course.entity.CourseDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CourseService {

    /**
     * 查询全部课程
     * @return
     */
    public List<CourseDTO> getAllCourse();

    public CourseDTO getCourseById(Integer courseid);

    public List<CourseDTO> getCoursesByUserId(Integer userId);
}
